import { ref } from "vue";

// 获取对应的组件类型
export function getComponentRef<T extends abstract new (...args: any) => any>(_params: T) {
	return ref<InstanceType<T>>();
}
